package com.vgemv.jsutilitysdk.Request.JsRequestManager2;

public class JsRequestBaseData {

    public enum JsRequestMethod {
        Get,
        Post
    }

    //请求头数据输入格式.
    public  enum JsRequestBodyInputType {
        None,
        Data,
        MapToJson,//表示普通的post请求,
        MapToUrlEncoded,//表示将普通的Map转换为urlencoded的数据.
        MapToFormdata,
        Json //本身就是json字符串

    }

    public enum JsResponseBodyOutputType {
        Data,
        String,
        JsonToMap,
        JsonToArray
    }

    public interface IJsResponseHandler {
        void onResponse(int responseState, Object resultObject, String errMessage, JsRequestInfo info);
    }
}
